package com.zhouyu.gamecommunity.service;

import com.zhouyu.gamecommunity.entity.PageResult;
import com.zhouyu.gamecommunity.entity.Result;
import com.zhouyu.gamecommunity.entity.User;
import com.zhouyu.gamecommunity.entity.queryParams.LoginParam;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;
/**
 * @description user
 * @author BEJSON.com
 * @date 2025-06-07
 */
public interface UserService {

    Result<User> userLogin(LoginParam loginParam);

    Result<Integer> userRegister(LoginParam loginParam);

    Result<User> getUserById(String userId);

    Result<Integer> updateUserById(User user);
}